#extension GL_OES_EGL_image_external : require
precision mediump float;

varying vec2 textureCoordinate;
varying vec2 textureCoordinate2;
varying vec2 textureCoordinate3;

uniform sampler2D inputImageTexture;
uniform samplerExternalOES inputImageTexture2;
uniform samplerExternalOES inputImageTexture3;

 float mixturePercent = 0.6;
 float lowValue = 0.1;
 

 void main()
 {
   lowp vec4 textureColor = texture2D(inputImageTexture, textureCoordinate);
   
   lowp vec4 textureColor2 = texture2D(inputImageTexture2, textureCoordinate2);
   
   lowp vec4 textureColor3 = texture2D(inputImageTexture3, textureCoordinate2);
   
   gl_FragColor = vec4(mix(textureColor.rgb, textureColor2.rgb, textureColor3.r), 1);
 }
